package com.ruoyi.serviceItem.mapper;

import com.ruoyi.serviceItem.domain.ServicePackage;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
* @author Lenovo
* @description 针对表【service_package(服务套餐表)】的数据库操作Mapper
* @createDate 2025-03-19 15:49:48
* @Entity com.ruoyi.serviceItem.domain.ServicePackage
*/
public interface ServicePackageMapper extends BaseMapper<ServicePackage> {
    List<ServicePackage> selectServicePackageList(int storeId);
    int checkPackageInUse(Long packageId);

    int insertServicePackage(ServicePackage servicePackage);
    int updateServicePackage(ServicePackage servicePackage);
    int deleteServicePackageById(Long packageId);
    ServicePackage selectServicePackageById(Long packageId);

}




